<?php

 


require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/Util/Filter.php';

PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');

if (!class_exists('PHPUnit_Framework_Warning', FALSE)) {


class PHPUnit_Framework_Warning extends PHPUnit_Framework_TestCase
{
    
    private $message = '';

    
    public function __construct($message = '')
    {
        $this->message = $message;
        parent::__construct('Warning');
    }

    
    protected function runTest()
    {
        $this->fail($this->message);
    }

    
    public function getMessage()
    {
        return $this->message;
    }
}

}
?>
